IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> CTeamFortress2Mod :: roundReset Crash
JRob
post Sep 18 2015, 12:14 AM
Post #1


Advanced Member
***

Group: Members
Posts: 52
Joined: 30-April 11
Member No.: 1,970



Got another crash at CTeamFortress2Mod :: roundReset

I think maybe you need to change gpGlobals->maxClients to gpGlobals->maxClients+1.

m_ObjectiveResource.m_ObjectiveResource = CClassInterface::FindEntityByNetClass(gpGlobals->maxClients+1, "CTFObjectiveResource");

Also CClassInterface::FindEntityByNetClass needs to check edict->IsFree()
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 3rd November 2024 - 11:22 AM