Forum

Weird "Opcode " error when comparing strings

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Postby Spike » Sun Mar 27, 2011 6:30 pm

doesn't process every comparison, regardless of the number of breaks
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby OneManClan » Mon Mar 28, 2011 2:38 am

Spike wrote:doesn't process every comparison, regardless of the number of breaks


Not sure what you mean; I don't want it to "process every comparison". As soon as str finds a match, the player gets assigned as '.member_of_beatles = 1;', and then the switch 'breaks'.

Unless Ive misunderstood what you mean...
OneManClan
 
Posts: 243
Joined: Sat Feb 28, 2009 2:38 pm

Previous

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest