fix crash on calling votes from autoexec
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4442 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -950,7 +950,7 @@ void callvote(int type, char *arg1, char *arg2)
|
||||
|
||||
void scallvote(char *type, char *arg1, char *arg2)
|
||||
{
|
||||
if(type)
|
||||
if(type && inmainloop)
|
||||
{
|
||||
int t = atoi(type);
|
||||
if(t==SA_MAP) // FIXME
|
||||
|
||||
Reference in New Issue
Block a user