SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X) > Bug Report Cleanup

Thread Tools Search this Thread
Old 07-08-2017   #1
Jimita's Avatar
Default [Not a bug] v.cachePatch ignores lowercase characters

The uppercase counterpart of the lump name is returned instead.

Last edited by K.S.; 07-09-2017 at 07:16 AM.
Jimita is offline  
Old 07-09-2017   #2
gender collector
fickleheart's Avatar

Can you provide an example script to replicate the issue?
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
av src
fickleheart is offline  
Old 07-09-2017   #3
Jimita's Avatar

         v.draw(160, 160, v.cachePatch("PLAYa2a8")) -- will draw "PLAYA2A8"
Jimita is offline  
Old 07-09-2017   #4
Monster Iestyn
Friendly Neighbour-Hood
Monster Iestyn's Avatar

This is intentional so I'm aware, the internal code involved with caching general patch lumps is case-insensitive. We're not going to fix this for v.cachePatch and v.PatchExists, they weren't designed for sprites in the first place anyway. (I've been working on new Lua video library functions to get sprite patches in a much better way for 2.2 anyway, especially considering the changes to character skins.)
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".

Last edited by Monster Iestyn; 07-09-2017 at 03:50 AM.
Monster Iestyn is offline  
Old 07-09-2017   #5
Formerly Inuyasha
Retired Staff
K.S.'s Avatar

Not a bug -- this is how the Doom engine works.
K.S. is offline  

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:08 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.