mail[Wesnoth-commits] r13786 - /branches/1.2/src/ai_python.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by elias on October 03, 2006 - 23:47:
Author: elias
Date: Tue Oct  3 23:47:00 2006
New Revision: 13786

URL: http://svn.gna.org/viewcvs/wesnoth?rev=13786&view=rev
Log:
Fixed compilation which was broken by the previous commit.

Modified:
    branches/1.2/src/ai_python.cpp

Modified: branches/1.2/src/ai_python.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.2/src/ai_python.cpp?rev=13786&r1=13785&r2=13786&view=diff
==============================================================================
--- branches/1.2/src/ai_python.cpp (original)
+++ branches/1.2/src/ai_python.cpp Tue Oct  3 23:47:00 2006
@@ -586,8 +586,7 @@
                running_instance->set_error(MSG_UNIT);
                return NULL;
        }
-       wassert(unit->unit_->type());
-       return wrap_unittype(*unit->unit_->type());
+       return wrap_unittype(unit->unit_->type());
 }
 
 static PyObject* wrapper_unit_attacks( wesnoth_unit* unit, PyObject* args )




Related Messages


Powered by MHonArc, Updated Wed Oct 04 07:00:16 2006