git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@466
bc333340-6410-0410-a689-
9d09f3c113fa
#include "config.h"
#include "options.h"
+using std::list;
+using std::string;
#if TIME_WITH_SYS_TIME
# include <sys/time.h>
void setData(Player *);
void reset();
- friend script;
+ friend class script;
long int getFlags() { return flags; }; // Returns the Client's current flags
// Functions also return the flags after modifying them
if (stricmp(left, "GOLD") == 0)
{
- (int*)leftptr = p->gold;
+ leftptr = (void*)p->gold;
}
else if (stricmp(left, "STRENGTH") == 0)
{
- (int*)leftptr = p->strength;
+ leftptr = (void*)p->strength;
}
}