summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-09-26 18:28:19 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-09-26 18:28:19 +0000
commit1e67cb01df788e02c7b248bb22b144d3d8b76cef (patch)
treef9b15c1dc744bd140a63f8494ea47839c57721e7 /src/main.cpp
parent6e75b1c961ab61f9a7eceac781809fe68eef8a6b (diff)
downloadmana-1e67cb01df788e02c7b248bb22b144d3d8b76cef.tar.gz
mana-1e67cb01df788e02c7b248bb22b144d3d8b76cef.tar.bz2
mana-1e67cb01df788e02c7b248bb22b144d3d8b76cef.tar.xz
mana-1e67cb01df788e02c7b248bb22b144d3d8b76cef.zip
...and those ones. :/
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b8ffa970..734af6dd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -407,7 +407,7 @@ int main(int argc, char *argv[])
SDL_Event event;
- if (options.skipUpdate && state != ERROR)
+ if (options.skipUpdate && state != ERROR_STATE)
{
state = LOGIN_STATE;
}
@@ -495,7 +495,7 @@ int main(int argc, char *argv[])
game();
}
catch (const char* err) {
- state = ERROR;
+ state = ERROR_STATE;
new OkDialog("Error", err, &mapStartErrorListener);
}
break;