[Ante-cvs] SF.net SVN: ante: [478] trunk/ant/cgiscript.cpp
Brought to you by:
roguestar191
|
From: <rog...@us...> - 2007-01-24 07:01:56
|
Revision: 478
http://svn.sourceforge.net/ante/?rev=478&view=rev
Author: roguestar191
Date: 2007-01-23 23:01:57 -0800 (Tue, 23 Jan 2007)
Log Message:
-----------
Bugfix cnt.
Modified Paths:
--------------
trunk/ant/cgiscript.cpp
Modified: trunk/ant/cgiscript.cpp
===================================================================
--- trunk/ant/cgiscript.cpp 2007-01-24 06:59:52 UTC (rev 477)
+++ trunk/ant/cgiscript.cpp 2007-01-24 07:01:57 UTC (rev 478)
@@ -1901,7 +1901,7 @@
std::string loaderhelper::give(std::vector<std::string>&stuff, void*caller) {
if(stuff.size() <= 3) return "Not enough arguments";
- object *c = findByNameNearCaller(caller, stuff[1], true); // can select any player connected to give from (for immortal item control, so they can take cheated items off players) or items in the room with the caller
+ object *c = findByNameNearCaller((object*)caller, stuff[1], true); // can select any player connected to give from (for immortal item control, so they can take cheated items off players) or items in the room with the caller
object *t = findByNameNearCaller(c, stuff[2]);// can select only players and items in the room with the caller, including the caller
bool inventory = true;
std::string itemname = stuff[3];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|