mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-23 06:20:09 +00:00
exp_parser:: fixed skipping whitespace
This commit is contained in:
parent
ee014030fb
commit
99e2d95e82
1
util.cpp
1
util.cpp
@ -355,6 +355,7 @@ cld exp_parser::parse(int prio) {
|
|||||||
else { std::stringstream ss; res = 0; ss << number; ss >> res; }
|
else { std::stringstream ss; res = 0; ss << number; ss >> res; }
|
||||||
}
|
}
|
||||||
while(true) {
|
while(true) {
|
||||||
|
skip_white();
|
||||||
#if CAP_ANIMATIONS
|
#if CAP_ANIMATIONS
|
||||||
if(next() == '.' && next(1) == '.' && prio == 0) {
|
if(next() == '.' && next(1) == '.' && prio == 0) {
|
||||||
static const cld NO_DERIVATIVE(3.1, 2.5);
|
static const cld NO_DERIVATIVE(3.1, 2.5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user