View Single Post
Re: POD-bot back into shape.
Old
  (#495)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 14-04-2004

MusicMan, why the heck do you do this ?
The definition of UTIL_ShowMenu is
void UTIL_ShowMenu (edict_t *pEdict, int slots, int displaytime, bool needmore, char *pText)
the third parameter is the time the bot menu should be displayed on your screen. -1 means 'always', i.e until a choice is made. Almost ALL the occurences of UTIL_ShowMenu in the code use -1. Why are you passing a character ('\0') instead where an integer duration (number of seconds) is expected ??



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."