BugID: 317
Posted: Wed Mar 24, 2010 10:40 am
Not sure how to send code fixes for small bugs. Diffs are a pain in the butt for 1-liners so for the time being I'm just going to post the new code and line numbers. if this doesn't work for you guys let me know and I'll just generate the diffs.
Fix for 317 (/summon bug):
Client.cpp
Summon function
added lines 1867 & 1868
Fix for 317 (/summon bug):
Client.cpp
Summon function
added lines 1867 & 1868
Code: Select all
1866. target = GetCurrentZone()->FindSpawn(GetPlayer(), search_name);
1867. if(target && target->IsPlayer())
1868. search_client = GetCurrentZone()->GetClientBySpawn(target);
1869. if(!target){
1870. search_client = zone_list.GetClientByCharName(string(search_name));
1871. if(search_client)
1872. target = search_client->GetPlayer();
1873. }